package com.sams.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
 import com.sams.entity.SocietySub;
import com.sams.entity.User;

public interface SocietySubService{

	PageInfo<SocietySub> listStu(Integer currentPage, String name, String idcard, Integer schid, String subname,
			User user,Integer zid);

	SocietySub findById(Integer id);

	void delete(Integer id);

	int add(SocietySub sub) throws Exception;

	void update(SocietySub sub) throws Exception;

	boolean insertBatch(List<SocietySub> stuList)  throws Exception;
	
	public String selectIdCard(String idcard, String project,Integer schid,Integer id);

}